<script setup>
import { useRoute } from 'vue-router'
const route = useRoute()
</script>

<template>
  <!-- 一级路由出口组件 -->
   <RouterView :key="route.path"/>
</template>

<style scoped lang="scss">
  .test {
    color: $priceColor;
  }
</style>
